package com.shijunhao.graduation.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: shijunhao
 * @date: 2022/4/9 21:19
 * @description:
 */
@ApiModel("文章评论评论添加实体")
public class DiscussDto {
    @ApiModelProperty(name="主键",example = "1")
    private Long id;
    @ApiModelProperty(name="文章id",example = "1")
    private Long nid;
    @ApiModelProperty(name="父级评论id",example = "1")
    private Long parentId;
    @ApiModelProperty(name="内容")
    private String content;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNid() {
        return nid;
    }

    public void setNid(Long nid) {
        this.nid = nid;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
